﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace KeyMouseStudy
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        public override bool PreProcessMessage(ref Message msg)
        {
            //msg.Result== 
            return base.PreProcessMessage(ref msg);
        }

        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            //e.KeyChar
            //e.Handled = true;
            base.OnKeyPress(e);
        }

        protected override void OnMouseDown(MouseEventArgs e)
        {
            //e.
            base.OnMouseDown(e);
        }


        protected override void OnKeyUp(KeyEventArgs e)
        {
            Keys keyEntered= e.KeyCode;
            //keyEntered== Keys.
            base.OnKeyUp(e);
        }
    }
}
